cmake_minimum_required(VERSION 3.6.0)

project("glRenderer")

set(GLRENDERER ${CMAKE_SOURCE_DIR})

include_directories(${GLRENDERER})
include_directories(${GLRENDERER}/sample)
file(GLOB glrenderer_files ${GLRENDERER}/*.cpp)

add_library(
        glRenderer
        SHARED
        ${glrenderer_files})

find_library(
        log-lib
        log)

target_link_libraries(
        glRenderer
        ${log-lib})